﻿
using System.Net;

namespace Blazor.Services.AppSetting;

public class AppSetting(IConfiguration configuration)
{
    public Uri OverseasApiBaseUri { get; init; } = new(configuration.GetValue<string>("OverseasApiBaseUri") ?? string.Empty);
    public Uri MainlandApiBaseUri { get; init; } = new(configuration.GetValue<string>("MainlandApiBaseUri") ?? string.Empty);
}